package Org.lanqiao.team.domain;

import Org.lanqiao.team.service.Status;

public class Architect extends Designer{
    public int stock;
    public Status status = Status.FREE;
    Printer printer = new Printer("","");
    private Equipment equipment;

    public Architect() {
    }

    public Architect(int id, String name, int age, double salary,  double bonus,int stock,Equipment equipment){
        super(id, name, age, salary,bonus,equipment);
        this.stock=stock;
        this.equipment=equipment;
    }

    @Override
    public String toString() {
        return
                getId() +"    "+
                        getName()+"    "+
                        getAge()+"    "+
                        getSalary()+"    "+
                        "Architect" +"  "+
                        status +"    "+
                        getBonus()+"   "+
                        stock+"  "+
                        this.equipment.getDescription();
    }
}
